package com.application.Tree;

import java.util.LinkedList;
import java.util.Queue;

import android.graphics.Canvas;
import android.util.Log;

public class BoardLog {

	private Queue<String> data;
	private int n;
	private boolean show;
	
	public BoardLog(int n){
		this.n=n;
		data=new LinkedList<String>();		
		for(int i=0;i<n;i++){
			data.offer("");
		}
	}
	public void add(String message){
		data.poll();
		data.offer(message);
	}
	public void log(){
		for(int i=0;i<this.n;i++){
			Log.d("Phu", data.peek()+"");
		}
	}
	public void onDraw(Canvas canvas){
		
	}
}
